<div ng-controller="pageCtrl" ng-init="mainStatus.navigation='list'">
    <div class="top-nav-wrap">
        <div class="back backBtn"><i class="iconfont icon-back"></i></div>
        <div class="title2">列表</div>
        <div class="right">
            <div class="nav">
                <a class="li"><i class="iconfont icon-plus"></i></a>
                <a class="li"><i class="iconfont icon-search"></i></a>
                <a class="li"><i class="iconfont icon-bell"></i><i class="tip" ng-if="mainStatus.msgBubble">{{mainStatus.msgBubble}}</i></a>
            </div>
        </div>
    </div>
    <div class="page-main">
        <div class="mgb-l"><span class="text-l">列表</span></div>
        <table-list list-data="../data/table-list.data" list-params="listParams" ng-model="tableSelected">
            <div class="loader" ng-if="status.isLoading">
                <div class="loader-inner pacman">
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                    <div></div>
                </div>
            </div>
            <div ng-if="!status.isLoading">
                <div class="empty-wrap" ng-if="tbodyList.length==0">
                    <div class="icon"><i class="iconfont icon-empty"></i></div>
                    <div>什么也没有</div>
                </div>
                <div ng-if="tbodyList.length">
                    <div class="mg-m">
                        <div class="fr">
                            <pagination2 status="status"></pagination2>
                        </div>
                        <div>
                            <button type="button" class="btn btn-orange" ng-click="delSelected('../data/form.data')" ng-disabled="listSelected.length==0">
                                <i class="iconfont icon-delete"></i> 删除
                            </button>
                            <button type="button" class="btn" modal-right="400" modal-scope="this" modal-url="views/list-edit.html">
                                <i class="iconfont icon-plus"></i> 新建
                            </button>
                        </div>
                    </div>
                    <table class="table-list">
                        <thead>
                        <tr>
                            <th><input type="checkbox" class="selectAll"></th>
                            <th ng-repeat="th in theadList">{{th}}</th>
                            <th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr ng-repeat="tr in tbodyList" ng-click="selectThis()">
                            <td class="select-td"><input type="checkbox" class="selectOne" value="{{tr.id}}"></td>
                            <td>{{tr.name}}</td>
                            <td>{{tr.col1}}</td>
                            <td>{{tr.col2}}</td>
                            <td>{{tr.col3}}</td>
                            <td width="300">
                                <div style="width:300px" class="text-nowrap overhide">{{tr.col4}}{{tr.col4}}</div>
                            </td>
                            <td>{{tr.col5}}</td>
                            <td>{{tr.col6}}</td>
                            <td>
                                <button type="button" class="btn btn-s btn-white" modal-right="400" modal-scope="this" modal-url="views/list-view.html"><i
                                        class="iconfont icon-delete"></i> 查看
                                </button>
                                <button type="button" class="btn btn-s btn-blue" modal-right="400" modal-scope="this" modal-url="views/list-edit.html"><i
                                        class="iconfont icon-pencil"></i> 编辑
                                </button>
                                <button type="button" class="btn btn-s btn-orange" ng-click="deleteThis('../data/form.data?id='+tr.id)"><i class="iconfont icon-delete"></i> 删除</button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="clearfix">
                        <div class="fr">
                            <pagination status="status"></pagination>
                        </div>
                    </div>
                </div>
            </div>
        </table-list>
        <div class="mg-l col-group">
            <div class="col-4">
                <div class="list-group">
                    <div class="dt"><i class="iconfont icon-time"></i> 导出历史</div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="who">
                            <img class="avatar" src="../ui/img/avatar.png"/> <span>肖瑞玲 导入</span>
                        </div>
                    </div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="who">
                            <img class="avatar" src="../ui/img/avatar.png"/> <span>肖瑞玲 导入</span>
                        </div>
                    </div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="who">
                            <img class="avatar" src="../ui/img/avatar.png"/> <span>肖瑞玲 导入</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-4">
                <div class="list-group">
                    <div class="dt"><i class="iconfont icon-time"></i> 导出历史</div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                    </div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                    </div>
                    <div class="li">
                        <div class="name">北岸组团3栋</div>
                        <div class="info">300套 2015.10.06</div>
                    </div>
                </div>
            </div>
            <div class="col-4">
                <div class="list-group">
                    <div class="dt">列表</div>
                    <div class="li">
                        <div class="name">郊区项目标签模板A</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="pos-r"><i class="iconfont icon-delete del"></i></div>
                    </div>
                    <div class="li">
                        <div class="name">郊区项目标签模板A</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="pos-r"><i class="iconfont icon-delete del"></i></div>
                    </div>
                    <div class="li">
                        <div class="name">郊区项目标签模板A</div>
                        <div class="info">300套 2015.10.06</div>
                        <div class="pos-r"><i class="iconfont icon-delete del"></i></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>